package com.example.trans.demos.service;

import com.example.trans.demos.mapper.LogInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogService {
    @Autowired
    private LogInfoMapper logInfoMapper;

    public Integer insertLog(String useName,String op){
        return logInfoMapper.insert(useName,op);
    }
}
